<form class="form-horizontal" role="form" method="post" action="<?php echo Yii::app()->createUrl('stugsp/addgsp'); ?>">
									 <input type="hidden" value="工作及社会实践" name="plateform">
									 <div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 项目名称：</label>

										<div class="col-sm-4">
											<select class="form-control validate[required]"  name="gspItemId" plateform="gz">
											  <option value="">&nbsp;</option>
											  <?php
											     foreach($gsp as $g){
													 echo '<option value="'.$g->gspItemId.'">'.$g->name.'</option>';
													 
												 }
											  ?>					
											</select>
										</div>
									</div>
									<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 能力模块：</label>

										<div class="col-sm-4">
											<input readonly="readonly" type="text" class="form-control" id="gz" value="未选择项目" name="">
										</div>
									</div>

									<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 项目级别：</label>

										<div class="col-sm-4">
												<select class="form-control validate[required]"  name="level">
																<option value="">&nbsp;</option>
																<option value="班级">班级</option>
																<option value="院级">院级</option>
																<option value="校级">校级</option>
																<option value="市级">市级</option>
																<option value="区级">区级</option>
																<option value="国家级">国家级</option>
																
																
										</select>
										</div>
									</div>
									<div class="space-4"></div>
									
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 参加时间：</label>
										
										<div class="col-sm-4">
											<select class="form-control validate[required]"   name="attendtime">
																<option value="">&nbsp;</option>
																<option value="第一学期">第一学期</option>
																<option value="第二学期">第二学期</option>
																<option value="第三学期">第三学期</option>
																<option value="第四学期">第四学期</option>
																<option value="第五学期">第五学期</option>
																<option value="第六学期">第六学期</option>
																<option value="第七学期">第七学期</option>
																<option value="第八学期">第八学期</option>
																
										</select>
										</div>
									</div>

									<div class="space-4"></div>
                                  	
                                   
									
										<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 等级或获奖情况：</label>

										<div class="col-sm-4">
											<select class="form-control validate[required]"   name="prize">
																<option value="">&nbsp;</option>
																<option value="一等奖">一等奖</option>
																<option value="二等奖">二等奖</option>
																<option value="三等奖">三等奖</option>
																<option value="第一名">第一名</option>
																<option value="第二名">第二名</option>
																<option value="第三名">第三名</option>
																<option value="第四名">第四名</option>
																<option value="第五名">第五名</option>
																<option value="第六名">第六名</option>
																<option value="第七名">第七名</option>
																<option value="第八名">第八名</option>
																<option value="参加未获奖">参加未获奖</option>
																
										</select>
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-input-readonly"> 详情: </label>

										<div class="col-sm-4">
											<textarea name = "detail" col="23" rows="14" class="form-control validate[required]"  placeholder="填写具体的详细信息，信息越详细，越快通过审核，谢谢合作"></textarea>
										    <span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right" data-content="填写具体的详细信息，信息越详细，越快通过审核，谢谢合作" title="" data-original-title="亲，您好">?</span>
										</div>
									</div>

									<div class="space-4"></div>

									

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-6">申请学分：</label>

										<div class="col-sm-4">
											<input name = "credit" data-rel="tooltip" class="validate[required,custom[number]]" type="text"  placeholder="实数" title="" data-placement="bottom" data-original-title="只能填写实数！！">
											<span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right" data-content="请参照下面的表格来填写学分！" title="" data-original-title="亲，您好">?</span>
										</div>
									</div>

									<div class="space-4"></div>

								

									<div class="clearfix form-actions">
										<div class="col-md-offset-4 col-md-4">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												提交
											</button>

											
										</div>
									</div>

								
	</form>

<h3>帮助文档</h3>
	<div class="well">
     <table class="table table-bordered table-striped">
      <thead>
        <tr>
          
          <th>能力模块</th>
          <th>项目名称</th>
          <th>帮助信息</th>
          
          
        </tr>
      </thead>
      <tbody>
      <?php   
	   foreach($gsp as $g){
		   
		   echo '<tr >
			 
			  <td id ="'.$g->gspItemId.'" >'.$g->module.'</td>
			  <td>'.$g->name.'</td>
			  <td>'.$g->info.'</td>
			  
			 
		   </tr>';
	   }
       ?>
      </tbody>
    </table>
	</div> 	